package com.lzy.cloud.member.remote;

import com.lzy.cloud.member.remote.dtos.AccountWalletDto;
import com.lzy.cloud.member.remote.request.AccountWalletRequest;
import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Description: 钱包接口
 * @Author:   gyl
 * @Date:     2018/7/10 9:51
 */
@FeignClient(name = "lzy-cloud-account")
public interface AccountWalletApi {

    /**
     * 新增钱包
     * @param accountWalletRequest
     * @return
     */
    @RequestMapping(value = "/account/add",method = RequestMethod.POST,consumes = MediaType.APPLICATION_JSON_VALUE)
    Result add(@RequestBody AccountWalletRequest accountWalletRequest) ;
}
